package com.yy.school.pojo;

public class Course {
    private Integer cid;
    private String cname;
    private Integer score;

    public Course() {
    }

    public Course(Integer cid, String cname, Integer score) {
        this.cid = cid;
        this.cname = cname;
        this.score = score;
    }

    /**
     * 获取
     * @return cid
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 设置
     * @param cid
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 获取
     * @return cname
     */
    public String getCname() {
        return cname;
    }

    /**
     * 设置
     * @param cname
     */
    public void setCname(String cname) {
        this.cname = cname;
    }

    /**
     * 获取
     * @return score
     */
    public Integer getScore() {
        return score;
    }

    /**
     * 设置
     * @param score
     */
    public void setScore(Integer score) {
        this.score = score;
    }

    public String toString() {
        return "Course{cid = " + cid + ", cname = " + cname + ", score = " + score + "}";
    }
}
